﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000435 RID: 1077
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnhanceChessRogueBuffCsReq : IMessage<EnhanceChessRogueBuffCsReq>, IMessage, IEquatable<EnhanceChessRogueBuffCsReq>, IDeepCloneable<EnhanceChessRogueBuffCsReq>, IBufferMessage
	{
		// Token: 0x17000DE0 RID: 3552
		// (get) Token: 0x0600306A RID: 12394 RVA: 0x000858E4 File Offset: 0x00083AE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnhanceChessRogueBuffCsReq> Parser
		{
			get
			{
				return EnhanceChessRogueBuffCsReq._parser;
			}
		}

		// Token: 0x17000DE1 RID: 3553
		// (get) Token: 0x0600306B RID: 12395 RVA: 0x000858EB File Offset: 0x00083AEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnhanceChessRogueBuffCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000DE2 RID: 3554
		// (get) Token: 0x0600306C RID: 12396 RVA: 0x000858FD File Offset: 0x00083AFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnhanceChessRogueBuffCsReq.Descriptor;
			}
		}

		// Token: 0x0600306D RID: 12397 RVA: 0x00085904 File Offset: 0x00083B04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceChessRogueBuffCsReq()
		{
		}

		// Token: 0x0600306E RID: 12398 RVA: 0x0008590C File Offset: 0x00083B0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceChessRogueBuffCsReq(EnhanceChessRogueBuffCsReq other) : this()
		{
			this.mazeBuffId_ = other.mazeBuffId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600306F RID: 12399 RVA: 0x00085931 File Offset: 0x00083B31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceChessRogueBuffCsReq Clone()
		{
			return new EnhanceChessRogueBuffCsReq(this);
		}

		// Token: 0x17000DE3 RID: 3555
		// (get) Token: 0x06003070 RID: 12400 RVA: 0x00085939 File Offset: 0x00083B39
		// (set) Token: 0x06003071 RID: 12401 RVA: 0x00085941 File Offset: 0x00083B41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MazeBuffId
		{
			get
			{
				return this.mazeBuffId_;
			}
			set
			{
				this.mazeBuffId_ = value;
			}
		}

		// Token: 0x06003072 RID: 12402 RVA: 0x0008594A File Offset: 0x00083B4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnhanceChessRogueBuffCsReq);
		}

		// Token: 0x06003073 RID: 12403 RVA: 0x00085958 File Offset: 0x00083B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnhanceChessRogueBuffCsReq other)
		{
			return other != null && (other == this || (this.MazeBuffId == other.MazeBuffId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003074 RID: 12404 RVA: 0x00085988 File Offset: 0x00083B88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MazeBuffId != 0U)
			{
				num ^= this.MazeBuffId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003075 RID: 12405 RVA: 0x000859C7 File Offset: 0x00083BC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003076 RID: 12406 RVA: 0x000859CF File Offset: 0x00083BCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003077 RID: 12407 RVA: 0x000859D8 File Offset: 0x00083BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MazeBuffId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.MazeBuffId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003078 RID: 12408 RVA: 0x00085A0C File Offset: 0x00083C0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MazeBuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MazeBuffId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003079 RID: 12409 RVA: 0x00085A4A File Offset: 0x00083C4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnhanceChessRogueBuffCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MazeBuffId != 0U)
			{
				this.MazeBuffId = other.MazeBuffId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600307A RID: 12410 RVA: 0x00085A7B File Offset: 0x00083C7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600307B RID: 12411 RVA: 0x00085A84 File Offset: 0x00083C84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MazeBuffId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400131C RID: 4892
		private static readonly MessageParser<EnhanceChessRogueBuffCsReq> _parser = new MessageParser<EnhanceChessRogueBuffCsReq>(() => new EnhanceChessRogueBuffCsReq());

		// Token: 0x0400131D RID: 4893
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400131E RID: 4894
		public const int MazeBuffIdFieldNumber = 2;

		// Token: 0x0400131F RID: 4895
		private uint mazeBuffId_;
	}
}
